﻿using PgBirdie.Core.Model.Database.Structure;

namespace PgBirdie.Core.Model.Database.Data
{
    public class PgDataColumn : PgColumn
    {
        public PgDataColumn(PgColumn column, string value)
        {
            Name = column.Name;
            Type = column.Type;
            OrderNo = column.OrderNo;
            Table = column.Table;
            Type = column.Type;
            IsNullable = column.IsNullable;
            SequenceName = column.SequenceName;
            Value = value;
        }

        //public PgColumn Column { get; set; }
        public string Value { get; set; }
    }
}